﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using KeRui.Common;
using System.Collections.Generic;


public partial class Manage_Cms_SiteList : System.Web.UI.Page
{
    protected List<KeRui.Model.CmsSite> listCmsSite;
    protected string SiteName =Utils.UrlDecode(PageRequest.GetString("name"),"UTF-8");
    protected KeRui.Model.CmsSite modelCmsSite = new KeRui.Model.CmsSite();
    protected void Page_Load(object sender, EventArgs e)
    {
        ManageHelper.CheckAdminLogin();//登陆判断
        ManageHelper.CheckAdminPower("system_siteview");//权限
        KeRui.BLL.CmsSite bllCmsSite = new KeRui.BLL.CmsSite();
        listCmsSite = bllCmsSite.GetList();

        if (SiteName != "")
        {
            modelCmsSite = bllCmsSite.GetSiteModel(SiteName);
        }
        
    }

}
